package com.gjh.ouygoing.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 推开信息表格
 */

@TableName("t_refund_info")
public class RefundInfo extends BaseEntity{

    private String orderNo;//商品订单编号

    private String refundNo;//退款单编号

    private String refundId;//支付系统退款单号

    private Integer totalFee;//原订单金额(分)

    private Integer refund;//退款金额(分)

    @Override
    public String toString() {
        return "RefundInfo{" +
                "orderNo='" + orderNo + '\'' +
                ", refundNo='" + refundNo + '\'' +
                ", refundId='" + refundId + '\'' +
                ", totalFee=" + totalFee +
                ", refund=" + refund +
                ", reason='" + reason + '\'' +
                ", refundStatus='" + refundStatus + '\'' +
                ", contentReturn='" + contentReturn + '\'' +
                ", contentNotify='" + contentNotify + '\'' +
                '}';
    }

    private String reason;//退款原因

    private String refundStatus;//退款单状态

    private String contentReturn;//申请退款返回参数

    private String contentNotify;//退款结果通知参数

    public String getOrderNo() {
        return orderNo;
    }

    public RefundInfo setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public String getRefundNo() {
        return refundNo;
    }

    public RefundInfo setRefundNo(String refundNo) {
        this.refundNo = refundNo;
        return this;
    }

    public String getRefundId() {
        return refundId;
    }

    public RefundInfo setRefundId(String refundId) {
        this.refundId = refundId;
        return this;
    }

    public Integer getTotalFee() {
        return totalFee;
    }

    public RefundInfo setTotalFee(Integer totalFee) {
        this.totalFee = totalFee;
        return this;
    }

    public Integer getRefund() {
        return refund;
    }

    public RefundInfo setRefund(Integer refund) {
        this.refund = refund;
        return this;
    }

    public String getReason() {
        return reason;
    }

    public RefundInfo setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public String getRefundStatus() {
        return refundStatus;
    }

    public RefundInfo setRefundStatus(String refundStatus) {
        this.refundStatus = refundStatus;
        return this;
    }

    public String getContentReturn() {
        return contentReturn;
    }

    public RefundInfo setContentReturn(String contentReturn) {
        this.contentReturn = contentReturn;
        return this;
    }

    public String getContentNotify() {
        return contentNotify;
    }

    public RefundInfo setContentNotify(String contentNotify) {
        this.contentNotify = contentNotify;
        return this;
    }
}
